
import http from '@/utils/http'
// 当前用户菜单
export const bannerPageApi = (data) => {
    return http.post(`/auth/banner/page`,data);
}
export const addBannerApi = (data) => {
    return http.post(`/auth/banner/add`, data);
}
export const editBannerApi = (data) => {
    return http.post(`/auth/banner/edit`, data);
}
export const delBannerApi = (bannerId) => {
    return http.get(`/auth/banner/del/${bannerId}`);
}
export const infoBannerApi  = (bannerId) => {
    return http.get(`/auth/banner/info/${bannerId}`);
}
export const bannerUploadApi = () => {
    return http.post(`/auth/banner/upload`);
}
